<template>
  <div>
    <ul>
        <li v-for="item in list" :key="item.id">
            {{item.id}} - {{item.name}}
            <slot :id="item.id"></slot>
        </li>
    </ul>
  </div>
</template>

<script>
export default {
    props: {
        list: Array
    }
}
</script>

<style>
li {
    font-size: 20px;
}
button{
     border: solid 1px black;
     border-radius: 20px;
     background-color: #da95ff74;
     padding: 1px 5px;
     margin-right: 5px;
     margin-left: 5px;
}
</style>